﻿<%@ Page Language="C#" MasterPageFile="~/promo/promotion.master" AutoEventWireup="true"
    CodeFile="promo-coming-soon.aspx.cs" Inherits="promo_promo_coming_soon" %>

<%@ Register Src="../controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="../controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager" runat="server">
    </asp:ScriptManager>
    <div style="margin: 0 auto; width: 1001px;">
        <div class="elements_inner_wrapper">
            <div id="contentBody_full">
                <div class="newpromo">
                    <h1>
                        CompareXpress Great Deals - Bringing Financial Deals to You</h1>
                    <div id="divSubscribe" class="promo_half">
                        <h4>
                            Be the FIRST to find out on exclusive deals, promotions and news about us by subscribing
                            to our newsletter.</h4>
                        <asp:UpdatePanel runat="server" ID="updatesubscribe" >
                            <ContentTemplate>
                                <div class="input_boxes" style="height: 150px;">
                                    <asp:ValidationSummary ID="valsummarySubscribe" CssClass="errorSummary" HeaderText="Please complete the form"
                                        runat="server" ValidationGroup="emailsubscribe" />
                                    <div class="seperator">
                                    </div>
                                    <label>
                                        Name</label>
                                    <asp:TextBox ID="txtNameSubscribe" CssClass="splinput3" runat="server" Text=""></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvNameSubscribe" CssClass="validationErrorControl"
                                        runat="server" ValidationGroup="emailsubscribe" ErrorMessage="" Text="" ControlToValidate="txtNameSubscribe"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <div class="seperator">
                                    </div>
                                    <label>
                                        E-mail</label>
                                    <asp:TextBox ID="txtEmailSubscribe" CssClass="splinput3" runat="server" Text=""></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvEmailSubscribe" CssClass="validationErrorControl"
                                        runat="server" ValidationGroup="emailsubscribe" ErrorMessage="" Text="" ControlToValidate="txtEmailSubscribe"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="revEmailSubscribe"
                                        runat="server" ValidationGroup="emailsubscribe" ErrorMessage="" Text="" ControlToValidate="txtEmailSubscribe"
                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                                    <div class="seperator">
                                    </div>
                                    <div id="divSuccess" runat="server" visible="false">
                                        Your Email has been sent to us. Thanks for Subscribing! :)
                                        <div class="seperator">
                                        </div>
                                    </div>
                                    <asp:CustomValidator ID="cvSubscribe" runat="server" ControlToValidate="txtEmailSubscribe"
                                        ValidationGroup="emailsubscribe" ErrorMessage="Email already exist in our list"
                                        Text="" OnServerValidate="CheckIsExisting" CssClass="MessageAfter" Display="None"></asp:CustomValidator>
                                    <%--   <asp:Label runat="server" ID="lblMessageSubscribe" Text="sdfsdfsdf" CssClass="MessageAfter"
                                Visible="false"></asp:Label>--%>
                                    <asp:Button ID="btnSubscribe" runat="server" CssClass="btn_subs" ValidationGroup="emailsubscribe"
                                        OnClick="btnSubscribe_Click" OnClientClick="LoadValidationErrorCss()" />
                                    <%-- <asp:Button ID="btnFacebookAuth" runat="server" CssClass="btn_subs_fb" OnClick="FbAuthClick" />--%>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="seperator">
            </div>
            <div class="clear">
            </div>
            <div>
                <img src="/images/promo/whycx.png" alt="Why buy through CompareXpress" width="1001"
                    height="100" />
            </div>
        </div>
    </div>
</asp:Content>
